package com.bm.specialvehiclefordispatcher.accountsecurity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;

import com.bm.specialvehiclefordispatcher.R;
import com.bm.specialvehiclefordispatcher.activity.BaseActivity;
import com.bm.specialvehiclefordispatcher.views.CommonNavigationBar;

/**
 * @Copyright Copyright 2014 蓝色互动. All rights reserved.
 * 
 * @author GuoHao
 * @Date: 2015年8月26日 账户安全
 */
public class AccountSecurityActivity extends BaseActivity {

	CommonNavigationBar bar;
	LinearLayout account_security;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_accountsecurity);
		findViews();
		init();
		addListeners();
	}

	@Override
	public void findViews() {
		bar = (CommonNavigationBar) findViewById(R.id.navi);
		bar.setListener(null);
		bar.setTitle("账户安全");
		account_security = (LinearLayout) findViewById(R.id.account_security);
	}

	@Override
	public void init() {

	}

	@Override
	public void addListeners() {
		account_security.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {

				startActivity(new Intent(AccountSecurityActivity.this, UpdatePasswordActivity.class));
			}
		});
	}

}
